<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
<div th:fragment="tableBlock" class="widget-content">

    <div class="table-responsive">
        <table id="datatable" class="table table-striped data-table table-bordered" width="100%">
            <thead>
            <tr>
                <th class="table-head" id="type">参数类型</th>
                <th class="table-head" id="code">参数编码</th>
                <th class="table-head" id="name">参数名称</th>
                <th class="table-head" id="codeName">编码-名称</th>
                <th class="table-head" id="remark">说明</th>
                <th class="table-head">操作</th>
            </tr>
            </thead>

            <tbody>
            <tr  th:each="codeName : ${formBean.list}">
                <td class="table-content" th:text="${codeName.type}"></td>
                <td class="table-content" th:text="${codeName.code}"></td>
                <td class="table-content" th:text="${codeName.name}"></td>
                <td class="table-content" th:text="${codeName.codeName}"></td>
                <td class="table-content" th:text="${codeName.remark}"></td>
                <td>
                    <div class="td-operate">
                        <a href="#" th:onclick="'javascript:editInfo(\'parameters\',\''+${codeName.guid}+'\');'" class="td-edit">编辑</a>
                        <a href="#" th:onclick="'javascript:delConfirm(\'parameters\',\''+${codeName.guid}+'\');'" class="td-del">删除</a>
                    </div>
                </td>
            </tr>

            </tbody>

        </table>
    </div>
</div>

</body>
</html>